package com.solution.constant;

/**
 * Contains the error messages related to user management.
 *
 */
public interface UserManagementErrorMessage {

	/**
	 * User creation failures.
	 */
	public static final String USER_CREATE_EXCEPTION = "Error while creating user in database.";
	/**
	 * User update failures.
	 */
	public static final String USER_UPDATE_EXCEPTION = "Error while updating user in database.";
	/**
	 * User read failures.
	 */
	public static final String USER_READ_EXCEPTION = "Error while fetching user from database.";
	
	/**
	 * role creation failures.
	 */
	public static final String ROLE_CREATE_EXCEPTION = "Error while creating role in database.";
	/**
	 * role update failures.
	 */
	public static final String ROLE_UPDATE_EXCEPTION = "Error while updating role in database.";
	/**
	 * role read failures.
	 */
	public static final String ROLE_READ_EXCEPTION = "Error while fetching role from database.";
	
	/**
	 * User creation failures.
	 */
	public static final String USER_PERMISSION_TYPE_CREATE_EXCEPTION = "Error while creating user permission type in database.";
	public static final String USER_PERMISSION_TYPE_CREATE_DUPLICATE_NAME_EXCEPTION = "Error while creating user permission type in database: duplicate name";
	
	/**
	 * User update failures.
	 */
	public static final String USER_PERMISSION_TYPE_UPDATE_EXCEPTION = "Error while updating user permission type in database.";
	/**
	 * User read failures.
	 */
	public static final String USER_PERMISSION_TYPE_READ_EXCEPTION = "Error while fetching user permission type from database.";
	
	public static final String USER_QUESTION_TYPE_CREATE_EXCEPTION ="";
	
	public static final String USER_QUESTION_FETCH_EXCEPTION ="Error while fetching User Question mapiing ";
}
